﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;

namespace LabChecker.Models
{
    public class LabCheckerContext : DbContext
    {
        public LabCheckerContext(bool disableProxies = false)
        {
            if (disableProxies)
            {
                Configuration.ProxyCreationEnabled = false;
            }
        }

        public DbSet<User> Users { get; set; }
        public DbSet<InternalLogin> InternalLogins { get; set; }
        public DbSet<Group> Groups { get; set; }

        public DbSet<Subject> Subjects { get; set; }

        public DbSet<Task> Tasks { get; set; }

        public DbSet<TestCase> TestCases { get; set; }
    }
}